/***********************************************************************
 *
 * MODULE NAME:    spp_dun.c
 * PROJECT CODE:   host side stack
 * DESCRIPTION:    interface of SPP, DUN and FAX
 * MAINTAINER:     Mark Donnelly
 * CREATION DATE:  08 March 2000
 *
 *
 * LICENSE:
 *     This source code is copyright (c) 2000-2011 RDA Microelectronics
 *     All rights reserved.
 *
 * REVISION HISTORY:
 * 
 *
 * ISSUES:
 * 
 ***********************************************************************/

#ifndef __SPP_DUN_H__
#define __SPP_DUN_H__


typedef struct {
    t_bdaddr address;
    u_int8 port;
    u_int8 dlci;
    u_int8 result;
    u_int16 max_frame_size;
    t_DataBuf *data;
} t_spp_msg;



APIDECL1 t_api APIDECL2 SPP_Active_Req(u_int8 port);
APIDECL1 t_api APIDECL2 SPP_Disconnect_Req(u_int16 spp_port);

APIDECL1 t_api APIDECL2 SPP_Send_Data(u_int8* data, u_int16 length, u_int16 spp_port);

APIDECL1 t_api APIDECL2 DUN_Active_Req(void);
APIDECL1 t_api APIDECL2 DUN_Disconnect_Req(u_int16 spp_port);

#endif

